package com.netease.liang.ch02.common;

import org.springframework.stereotype.Component;

@Component
public class SgtPeppers implements CompactDisc {
    private String artist = "刘欢";
    private String title = "我和你";

    @Override
    public void play() {
        System.out.println("播放"+artist+"的"+title);
    }
}
